use ClientPlatform


db.OldTemplateCriteria.update({Name: "Company name"}, { $set: { Name: "Company Name"}}, {multi: true});
db.OldTemplateCriteria.update({Name: "Peer Group name"}, {$set: { Name: "Peer Group"}}, {multi: true});

db.CriteriaLevel3.update({Name: "Company name"}, { $set: { Name: "Company Name"}}, {multi: true});
db.CriteriaLevel3.update({Name: "Peer Group name"}, {$set: { Name: "Peer Group"}}, {multi: true});

db.TemplateCriteria.update({Name: "Company name"}, {$set: { Name: "Company Name"}}, {multi: true});
db.TemplateCriteria.update({Name: "Peer Group name"}, {$set: { Name: "Peer Group"}}, {multi: true});

db.FilterCriteria.update({Name: "Company name"}, {$set: { Name: "Company Name"}}, {multi: true});
db.FilterCriteria.update({Name: "Peer Group name"}, {$set: { Name: "Peer Group"}}, {multi: true});

db.getCollection("ScreeningData").update({}, { $rename: { "Company name": "Company Name", "Peer Group name": "Peer Group"}}, { multi: true});

